import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class StorageService {

  constructor() { }
  setUser(userName) {
     sessionStorage.setItem('user', userName);
  }
  getUser(){
    return sessionStorage.getItem('user');
  }
}
